<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>
  心嘉源 心理咨询 在线测评 心理测评 私人心理顾问 企业心理服务 企业EAP
</title>
<%= stylesheet_link_tag "reset.css", "grid.css","style.css" %>
<%= javascript_include_tag "jquery.js" %>
</head>
<body id="page2">
<div class="body1">
  <div class="main">
    <%= render :partial => "layouts/header" %>
  </div>
</div>

<div class="body2">
  <div class="container_12">

    <div id="content">
      <div class="wrapper">
        <div class="grid_3">
          <ul class="list1">
            <% Category.all.each do |category| %>
            <li><%= link_to category.name, {:controller => :news, :action => :index, :category_id => category.id}, {:class => (category == @category ? "selected" : "")} %>
            </li>
            <% end %>
          </ul>	
        </div>
        <div class="grid_8">
          <%= yield %>
        </div>
      </div>
      <!--content end-->
    </div>
  </div>
</div>
<%= render :partial => "layouts/footer" %>
</body>
</html>
